package com.itheima.service;

import com.itheima.pojo.Menu;

import java.util.List;

public interface MenuService {
    //查询所有的菜单
    List<Menu> findAllMenu();
    //添加一级菜单
    void addOneMenu(Menu menu);
    //添加二级菜单
    void addTwoMenu(Menu menu);
    //修改菜单
    void EditMenu(Menu menu);
  //删除菜单
    void deleteMenuById(Integer id);
}
